VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "mscomctl.ocx"
Begin VB.Form frmCuentaquenoExiste 
   BackColor       =   &H80000013&
   BorderStyle     =   5  'Sizable ToolWindow
   Caption         =   "Ccuentas que no Existen"
   ClientHeight    =   3465
   ClientLeft      =   60
   ClientTop       =   330
   ClientWidth     =   10185
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   Moveable        =   0   'False
   ScaleHeight     =   3465
   ScaleWidth      =   10185
   ShowInTaskbar   =   0   'False
   StartUpPosition =   2  'CenterScreen
   Begin MSComctlLib.ListView vistaProveedores 
      Height          =   2775
      Left            =   0
      TabIndex        =   0
      Top             =   0
      Width           =   10185
      _ExtentX        =   17965
      _ExtentY        =   4895
      LabelEdit       =   1
      LabelWrap       =   -1  'True
      HideSelection   =   -1  'True
      FullRowSelect   =   -1  'True
      _Version        =   393217
      ForeColor       =   8388608
      BackColor       =   -2147483643
      BorderStyle     =   1
      Appearance      =   1
      BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
         Name            =   "Times New Roman"
         Size            =   9.75
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      NumItems        =   0
   End
   Begin VB.Image cmdSalir 
      Height          =   480
      Left            =   9360
      MouseIcon       =   "frmCuentaquenoExiste.frx":0000
      MousePointer    =   99  'Custom
      Picture         =   "frmCuentaquenoExiste.frx":030A
      ToolTipText     =   "Salir de esta pantalla"
      Top             =   2880
      Width           =   480
   End
End
Attribute VB_Name = "frmCuentaquenoExiste"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False


Private Sub cmdSalir_Click()
    Unload Me
End Sub

Private Sub Form_Activate()
LlenarVista
End Sub

Private Sub Form_Load()
    Left = Screen.Width / 2 - Width / 2
    Top = (Screen.Height / 2 - Height / 2) - 800
    
        
   Me.vistaProveedores.ColumnHeaders.Add , , "Numero Cuenta", 1500
   Me.vistaProveedores.ColumnHeaders.Add , , "Tipo Planilla", 1000
   Me.vistaProveedores.ColumnHeaders.Add , , "Descripcion", 2500
   Me.vistaProveedores.ColumnHeaders.Add , , "Movimiento", 2000
   
   Me.vistaProveedores.View = lvwReport
   Me.vistaProveedores.GridLines = True
   
   

   
    LlenarVista

End Sub


Private Sub LlenarVista()
   Dim itmX As ListItem
   
    Me.vistaProveedores.ListItems.Clear
    

    If DE.rsCuentaNoExiste.State = adStateOpen Then DE.rsCuentaNoExiste.Close
    DE.CuentaNoExiste 1
   
   If DE.rsCuentaNoExiste.RecordCount <> 0 Then
      
      DE.rsCuentaNoExiste.MoveFirst
      While Not DE.rsCuentaNoExiste.EOF
         Set itmX = Me.vistaProveedores.ListItems.Add(, , DE.rsCuentaNoExiste.Fields("cNumCuenta").Value)
             itmX.SubItems(1) = RTrim(DE.rsCuentaNoExiste.Fields("TipoPlanilla").Value)
             itmX.SubItems(2) = RTrim(DE.rsCuentaNoExiste.Fields("vDescripcion_TipoPlanilla").Value)
             itmX.SubItems(3) = RTrim(DE.rsCuentaNoExiste.Fields("rMovDetPoliza").Value)
         DE.rsCuentaNoExiste.MoveNext
      Wend

'
'cNumCuenta,
'TipoPlanilla,
'vDescripcion_TipoPlanilla,
'rMovDetPoliza

      Else
        Me.vistaProveedores.Enabled = False
   End If

End Sub



